package com.ifar.audiosdk.base

import com.ifar.audiosdk.common.IfarBaseResponse

open class IfarBaseRepository {

    suspend fun <T : Any> apiCall(call: suspend () -> IfarBaseResponse<T>): IfarBaseResponse<T> {
        return call.invoke()
    }

    suspend fun <T : Any> dbCall(call: suspend () -> T): T {
        return call.invoke()
    }

}